package com.atguigu.exam.service;


import com.atguigu.exam.entity.Question;
import com.atguigu.exam.vo.GradingResult;

import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;

/**
 * AI服务接口
 */
public interface AIService {

    String callAi(String prompt);

    String getExamAnswer(int totalScore, int totalPaperScore, int size, AtomicInteger correctCount);

    GradingResult gradeTextQuestions(Question question, String userAnswer);
}